package com.softeem.oop1;

public class PrintDemo extends PrintRoot{
	
	public void write(int i){
		System.out.println(i);
	}
	
	public void write(float f){
		System.out.println(f);
	}
	
	public void write(String s){
		System.out.println(s);
	}
	
	public double write(double d){
		return d;
	}
	
	public static void main(String[] args){
		PrintDemo pd = new PrintDemo();
		pd.write(100);
		
		pd.write(3.14F);
		
		pd.write("helloworld");
		
	}
}
